<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>新增或编辑</title>
    <style>
        table{
            margin: auto;
            border: 1px solid;
            border-spacing: 0px;
        }
    </style>
</head>
<body>
    <table>
        <tr hidden>
            <td><label for="">id：</label></td>
            <td><input type="text" name="id"></td>
        </tr>
        <tr>
            <td><label for="">标题：</label></td>
            <td><input type="text" name="title"></td>
        </tr>
        <tr>
            <td><label for="">摘要：</label></td>
            <td><input type="text" name="abstract"></td>
        </tr>
        <tr>
            <td><label for="">内容：</label></td>
            <td><input type="text" name="content"></td>
        </tr>
        <tr>
            <td><label for="">分类：</label></td> 
            <td><input type="text" name="sort"></td>
        </tr>
        <tr>
            <td><label for="">作者：</label></td>
            <td><input type="text" name="author"></td>
        </tr>
        <tr>
            <td><label for="">时间：</label></td>
            <td><input type="datetime-local" name="time"></td>
        </tr>
        <tr>
            <td><input type="button" value="保存" onclick="save()"></td>
            <td><input type="button" value="取消" onclick="cancel()"></td>
        </tr>
    </table>

    <script src="./js/jquery-3.6.0.min.js" ></script>
    <script src="./js/product.js" ></script>
    <script src="./js/init.js" ></script>
</body>
</html>